var submitForm = function($dialog,$grid,$pjq) {
	 var bigCateNameVal=$("#bigCateName").val();
	 if($.trim(bigCateNameVal)==""){$pjq.messager.alert("提示","部门分类不能为空！","info"); return;}
	 $.post(base+"/"+path+"/checkBigCateName"+suffix,{bigCateName:bigCateNameVal,id:$("#cateId").val()},function(data){
		 	if(data){
				$pjq.messager.alert("提示","该部门分类已存在！","info");
			}else{
				 $.post(base+"/"+path+"/upd"+suffix,$("#frm").serialize(),function(data){
						if(data){
							$pjq.messager.alert("提示","提交成功！","info");
							$grid.datagrid("load");
							$dialog.dialog("destroy");
						}else{
							$pjq.messager.alert("提示","提交失败！","error");
						}
				},"json");
			}
	 },"json");
};
